package cn.com.fuhuitong.main.mine.entity

import cn.com.fuhuitong.http.BaseResponse
import java.io.Serializable

data class AddressListResponse(
    val data: MutableList<AddressEntity> = mutableListOf()
) : BaseResponse()


data class AddressDefaultResponse(
    val data: AddressEntity
) : BaseResponse()

data class AddressEntity(
    val address: String = "",
    val area: String = "",
    val city: String = "",
    val contact_mobile: String = "",
    val contact_name: String = "",
    val id: Int = 0,
    val is_default: Int = 0,
    val province: String = ""
) : Serializable


data class AddressAddEntity(
    val address_id: Int,
    val contact_name: String,//联系人
    val contact_mobile: String,//联系电话
    val province: String,//省
    val city: String,//市
    val area: String,//区
    val address: String,//详细地址
    val is_default: Int//是否默认:1=是,0=否
)